
export function FINANCIAL_STAMP_25(data) {
  const {name}=data
  const text = name||'某某某科技有限公司'

  const DIAMETER = 25 // 直径
  const SQUARE_LINE_WIDTH = 1 // 圆环宽度

  const config={
    dpi: 300,

    height: DIAMETER,
    width: DIAMETER,
    color: 'red',
    charSpace: 0, // 文字间隔
    fontFamily: 'SimSun',
    centerX: DIAMETER / 2,
    centerY: DIAMETER / 2,
    elements: [
      {
        type: 'SQUARE',
        diameter: DIAMETER - SQUARE_LINE_WIDTH / 2,
        lineWidth: SQUARE_LINE_WIDTH
      },
      {
        type: 'SQUARE_TEXT',
        text: text,
        diameter: DIAMETER - SQUARE_LINE_WIDTH - 1,
        direction: 'horizontal' // horizontal 水平的  vertical 垂直的
      }
    ]
  }
return config
}
